﻿<!DOCTYPE html>
<html>
<head> 
<title>论坛搜索-{$GetSiteTitle}</title>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta http-equiv="Cache-control" content="max-age=1700">
<meta name="viewport" content="user-scalable=no, width=device-width">
<meta name="MobileOptimized" content="320">
<meta name="author" content="kesion.com">
<meta name="format-detection" content="telephone=no">

<meta name="keywords" content="开源CMS ASPCMS 论坛 社区 论坛程序 asp论坛系统 KesionCMS 站长论坛" />
<meta name="description" content="KesionCMS 万能建站管理系统官方服务技术交流社区 powered by kesion.com" />
<meta name="author" content="kesion.com"/>
<link href="{$GetSiteUrl}3g/images/style.css" rel="stylesheet" type="text/css">
<link href="{$GetSiteUrl}3g/images/bbs.css" rel="stylesheet" type="text/css">
<script src="{$GetInstallDir}ks_inc/jquery.js"></script>
<script src="{$GetInstallDir}ks_inc/common.js"></script>
<script src="{$GetInstallDir}{$GetClubInstallDir}/images/club.js"></script>
<script type="text/javascript"> 
//===========================点击展开关闭效果====================================
function openShutManager(oSourceObj,oTargetObj,shutAble,oOpenTip,oShutTip){
var sourceObj = typeof oSourceObj == "string" ? document.getElementById(oSourceObj) : oSourceObj;
var targetObj = typeof oTargetObj == "string" ? document.getElementById(oTargetObj) : oTargetObj;
var openTip = oOpenTip || "";
var shutTip = oShutTip || "";
if(targetObj.style.display!="none"){
   if(shutAble) return;
   targetObj.style.display="none";
   if(openTip && shutTip){
    sourceObj.innerHTML = shutTip; 
   }
} else {
   targetObj.style.display="block";
   if(openTip && shutTip){
    sourceObj.innerHTML = openTip; 
   }
}
}
</script>
<script>
$(function(){
	$(".headertit").replaceWith("<div class='headertit'>论坛搜索</div>");
	})
</script>
<style>
#key{margin-left: 2%;margin-top: 0;height:1.5rem;line-height: 1.5rem;padding: 0 0.25rem; font-size:0.7rem;}
input[type="radio"]{ vertical-align:middle;}
.select{ margin-right:10px;}
.pn, .button{font-family:"微软雅黑";border-radius: 2px;padding: 0.25rem 0.5rem; font-size:0.7rem; border-radius:2px !important;}
.sform input[type="radio"]{ margin-right:0.25rem;}
.querydiv .clubcate{ display:none;}
.querydiv{ font-size:0.7rem; line-height:1.5rem;}
.glist .topiclist{box-shadow:none;}
.glist .topiclist tr td{ padding:0.5rem 0px 0.5rem 0.75rem;}
.select{ height:1.5rem;}
</style>
</head>
<body>
{LB_3g头部通用}		
<div id="box2013" style="display:none">
	<div class="topbg"></div>
	<ul>
		{$GetModelList}
	</ul>
	<div class="clear"></div>
</div>
<div class="MiddleCont">

   
		
 [SearchContent]
   
  [ShowKeySearch]
  <div class="querydiv">
   <div class="clubcate">{@search.searchtype}</div>
   <div class="sform">
    <script type="text/javascript">
	 function checkkey(){
	  var key=$('#key');
	  if(key.val()==''){alert('请输入关键字!');key.focus();return false;}
	  if(key.val().length<2 || key.val().length>20){
	   alert('关键字字符长度不能小于 2 大于 20 字节!');
	   key.focus();
	   return false;
	  }
	  return true;
	 }
	</script>
    <form name="sform" action="?" method="get">
     <span class="fl" style="height: 1.5rem;line-height: 1.5rem;">关键字：</span><input type="text" name="key" class="textbox" id="key" size="35" maxlength="20"/>
	 <div style="clear:both;"></div><br>
      <select name="boardid"  class="select">
	   <option value='0'>--选取所有版面--</option>
	  {$BoardOption}
      </select>

	   <input type="radio" name="stype" value="1" checked>主题&nbsp;&nbsp;
	   <input type="radio" name="stype" value="2">用户名&nbsp;&nbsp;
	   <input type="submit"  class="button" value="立即搜索" onClick="return(checkkey())"/>
   </form>

  </div>
  [/ShowKeySearch]

  [SearchResult]
	 <div class="ShowKeySearch">{@search.resulttips}：</div>
     <div class="clubmainbox pd20" style="margin-top:0;">
	      <table border="0" style="margin:0px auto;width:100%;" align="center" class="glist" cellpadding="0" cellspacing="0">
		    
				{@loop.begin}
				<tbody class="topiclist">
				<tr onMouseOver="this.className='tron'" onMouseOut="this.className='trout'">
				    <td style="width:30px;text-align:center"><img src="{$GetSiteUrl}{$GetClubInstallDir}/images/common.gif" /></td>
					<td class="topictitle">[<a href="{@item.boardurl}" target="_blank">{@item.boardname}</a>]{@item.category}<a href="{@item.linkurl}" target="_blank">{@item.subject}</a>
					 <br/>
					<span class="time"><a href="{$GetSiteUrl}space/?{@item.username}" class="author" target="_blank">{@item.username}</a>&nbsp;时间：{@item.addtime} 回复/浏览：{@item.totalreplay}/{@item.hits}</span></td>
					
				</tr>
				</tbody>
				{@loop.end}
		 </table>
		 {@search.showpage}
	 </div>
 </div>
[/SearchResult] 

   <span class="keysm">
		   <strong>搜索说明：</strong>
		   <br/>
		关键字字符长度不能小于 2 大于 20 字节<br/>
		每次搜索时间间隔 2 秒 <br/>
		按用户名查询为精确查询，必须输入用户名的全称
   </span>
[/SearchContent]

</div>
		
<!--3G底部start-->  
{LB_3g底部按钮}
<script>
$(function(){
	var a = $(".flexbox li").eq(2).find("img").attr("src");
	b=a.substring(0,a.length-4); //alert(b)截掉最后四个字符
	$(".flexbox li").eq(2).find("img").attr("src", b + "s.png");
})
</script>

<!--3G底部end-->  
</body>
</html>
